const userRepository = require('../dataAccess/userRepository');

const getUserById = async (id) => {
  return await userRepository.getUserById(id);
};

const createUser = async (userData) => {
  return await userRepository.createUser(userData);
};

module.exports = {
  getUserById,
  createUser,
};
